//
//  RW_FuncViewController.m
//  SleepApp
//
//  Created by chuangqi on 2021/3/30.
//  Copyright © 2021 RiceWang. All rights reserved.
//

#import "RW_FuncViewController.h"
#import "RW_FuncView.h"

@interface RW_FuncViewController ()
@property (nonatomic,strong) RW_FuncView *wlclass_view;
@end

@implementation RW_FuncViewController
/** 进入播放器页面选择 */
+(void)pushFuncFromVc:(UIViewController *)fromVc{
    RW_FuncViewController *vc = [[RW_FuncViewController alloc]init];
    [fromVc.navigationController pushViewController:vc animated:YES];
}

- (void)initView{
    [self.contentView addSubview:self.wlclass_view];
    [self.wlclass_view mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.bottom.left.right.mas_equalTo(self.contentView);
    }];
}
- (void)initData{
    [self.wlclass_view initData];
}
#pragma mark -- 父控制器功能
-(NSString *)set_title{
    return @"播放器";
}
#pragma mark -- 懒加载
-(RW_FuncView *)wlclass_view{
    if (!_wlclass_view){
        _wlclass_view = [[RW_FuncView alloc]init];
    }
    return _wlclass_view;
}
@end
